import http from '@/utils/axios'

//http://106.52.180.164:1080/feedback/upload-user


export function uploadUser(data) {
  return http({
    url: '/feedback/upload-user',
    method: 'post',
      headers: {
        'Content-Type': 'multipart/form-data'
      },
      data
  })
}

export function getList(params) {
    return http({
      url: '/feedback/list',
      method: 'get',
      params: {
        ...params
      }
    })
  }


export default {
    getList,
    uploadUser,
  }